<template>
    <div class="geyao">
        geyao:{{geyao}}
        fangfang给的:{{ fangfang }}
    </div>
</template>
<script setup>
import { ref, onMounted } from 'vue'
import emitter from '@/utils/index.js';
var geyao = ref("电脑")
var fangfang = ref("")
emitter.on('fangfang', (data) => {
    fangfang.value = data
})

</script>